package com.pinyoumei.app.bean;

import java.math.BigDecimal;

/**
 * Created by Administrator on 2021/8/20 0020.
 */

public class EPayBean {

    /**
     * code : 1
     * errors : {}
     * msg : 加载成功
     * result : {"nonce_str":"","partner_id":"","goods_info":{"goods_name":"胡飞扯鸡鸡","goods_num":1,"goods_img":"胡飞扯鸡鸡","sale_amount":88},"wx_package":"","time_stamp":"","sign":"","ali_pay_url":"https://openapi.alipay.com/gateway.do?alipay_sdk=alipay-sdk-java-dynamicVersionNo&amp;app_id=2021001153631522&amp;biz_content=%7B%22out_trade_no%22%3A%22c6cf94612b19479db2515b18d46e4975%22%2C%22product_code%22%3A%22QUICK_WAP_PAY%22%2C%22subject%22%3A%22%E6%99%BA%E8%83%BDE%E5%AE%B6%E5%9C%A8%E7%BA%BF%E8%B4%AD%E4%B9%B0%E5%95%86%E5%93%81%22%2C%22total_amount%22%3A%220.0%22%7D&amp;charset=UTF-8&amp;format=json&amp;method=alipay.trade.wap.pay?ify_url=http%3A%2F%2Fzbk.hs499.com%2Fapp%2Falipay%2Fnotify&amp;sign=agi%2BpIjNJO9b1A6AyldyiApjcapKoMYlSWNlkZcKorraCRNINUi9QXt78FiJ1zZSf8rpLIexnx0wfgkrXq54vsmqz6Pd8Bmm1NpWBuUSEWJOdchL7AAaTK0Oozsk7gw6fWI5l9FQwZ1%2FBR9cPOsI5kbsN4aZbCAu8LkRHOqIs9XJc%2FxOmOFRmodGlQJBibo1Q0KSHOC%2BBpJ1pXze1WTcLqhySsHdhCcLoaHwPg3VeuhOWxef0ffjB7eWro%2BHo1xC07XdycNR7ZuAzu6KY8C8m6WYYFglOjlsKWmuesI%2BCaUN9hgUWKF2iJDExjCpPrDKvNluX8weNYTsYWuk5u8Rxw%3D%3D&amp;sign_type=RSA2×tamp=2021-08-19+20%3A21%3A33&amp;version=1.0","app_id":"","prepay_id":""}
     */

    private int code;
    private ErrorsBean errors;
    private String msg;
    private ResultBean result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ErrorsBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorsBean errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ErrorsBean {
    }

    public static class ResultBean {
        /**
         * nonce_str :
         * partner_id :
         * goods_info : {"goods_name":"胡飞扯鸡鸡","goods_num":1,"goods_img":"胡飞扯鸡鸡","sale_amount":88}
         * wx_package :
         * time_stamp :
         * sign :
         * ali_pay_url : https://openapi.alipay.com/gateway.do?alipay_sdk=alipay-sdk-java-dynamicVersionNo&amp;app_id=2021001153631522&amp;biz_content=%7B%22out_trade_no%22%3A%22c6cf94612b19479db2515b18d46e4975%22%2C%22product_code%22%3A%22QUICK_WAP_PAY%22%2C%22subject%22%3A%22%E6%99%BA%E8%83%BDE%E5%AE%B6%E5%9C%A8%E7%BA%BF%E8%B4%AD%E4%B9%B0%E5%95%86%E5%93%81%22%2C%22total_amount%22%3A%220.0%22%7D&amp;charset=UTF-8&amp;format=json&amp;method=alipay.trade.wap.pay?ify_url=http%3A%2F%2Fzbk.hs499.com%2Fapp%2Falipay%2Fnotify&amp;sign=agi%2BpIjNJO9b1A6AyldyiApjcapKoMYlSWNlkZcKorraCRNINUi9QXt78FiJ1zZSf8rpLIexnx0wfgkrXq54vsmqz6Pd8Bmm1NpWBuUSEWJOdchL7AAaTK0Oozsk7gw6fWI5l9FQwZ1%2FBR9cPOsI5kbsN4aZbCAu8LkRHOqIs9XJc%2FxOmOFRmodGlQJBibo1Q0KSHOC%2BBpJ1pXze1WTcLqhySsHdhCcLoaHwPg3VeuhOWxef0ffjB7eWro%2BHo1xC07XdycNR7ZuAzu6KY8C8m6WYYFglOjlsKWmuesI%2BCaUN9hgUWKF2iJDExjCpPrDKvNluX8weNYTsYWuk5u8Rxw%3D%3D&amp;sign_type=RSA2×tamp=2021-08-19+20%3A21%3A33&amp;version=1.0
         * app_id :
         * prepay_id :
         */

        private String nonce_str;
        private String partner_id;
        private GoodsInfoBean goods_info;
        private String wx_package;
        private String time_stamp;
        private String sign;
        private String ali_pay_url;
        private String app_id;
        private String prepay_id;
        private String other_alipay_data;
        private String other_wxpay_data;

        public String getOther_wxpay_data() {
            return other_wxpay_data;
        }

        public void setOther_wxpay_data(String other_wxpay_data) {
            this.other_wxpay_data = other_wxpay_data;
        }

        public String getOther_alipay_data() {
            return other_alipay_data;
        }

        public void setOther_alipay_data(String other_alipay_data) {
            this.other_alipay_data = other_alipay_data;
        }

        public String getNonce_str() {
            return nonce_str;
        }

        public void setNonce_str(String nonce_str) {
            this.nonce_str = nonce_str;
        }

        public String getPartner_id() {
            return partner_id;
        }

        public void setPartner_id(String partner_id) {
            this.partner_id = partner_id;
        }

        public GoodsInfoBean getGoods_info() {
            return goods_info;
        }

        public void setGoods_info(GoodsInfoBean goods_info) {
            this.goods_info = goods_info;
        }

        public String getWx_package() {
            return wx_package;
        }

        public void setWx_package(String wx_package) {
            this.wx_package = wx_package;
        }

        public String getTime_stamp() {
            return time_stamp;
        }

        public void setTime_stamp(String time_stamp) {
            this.time_stamp = time_stamp;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getAli_pay_url() {
            return ali_pay_url;
        }

        public void setAli_pay_url(String ali_pay_url) {
            this.ali_pay_url = ali_pay_url;
        }

        public String getApp_id() {
            return app_id;
        }

        public void setApp_id(String app_id) {
            this.app_id = app_id;
        }

        public String getPrepay_id() {
            return prepay_id;
        }

        public void setPrepay_id(String prepay_id) {
            this.prepay_id = prepay_id;
        }

        public static class GoodsInfoBean {
            /**
             * goods_name : 胡飞扯鸡鸡
             * goods_num : 1
             * goods_img : 胡飞扯鸡鸡
             * sale_amount : 88
             */

            private String goods_name;
            private int goods_num;
            private String goods_img;
            private BigDecimal sale_amount;

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public int getGoods_num() {
                return goods_num;
            }

            public void setGoods_num(int goods_num) {
                this.goods_num = goods_num;
            }

            public String getGoods_img() {
                return goods_img;
            }

            public void setGoods_img(String goods_img) {
                this.goods_img = goods_img;
            }

            public BigDecimal getSale_amount() {
                return sale_amount;
            }

            public void setSale_amount(BigDecimal sale_amount) {
                this.sale_amount = sale_amount;
            }
        }
    }
}
